<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link rel="stylesheet" type="text/css" href="view/controller.css"/>
	<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
	<title>myScheduleChange</title>
</head>
<body>
	<div class="header">
		<jsp:include page="head_controller.html"/>
	</div>
	<div class="sidebar">
		<jsp:include page="navigation_admin.jsp"/>
	</div>
	<div class="page">
		<h1><c:out value="${message}"/></h1>
		
		<!-- Wird nur ausgegeben,wenn fehler aufgetreten sind -->
				<ul type="disc">
					<c:forEach items="${errors}" var="error">
						<li><c:out value="${error}"/></li>
					</c:forEach>
				</ul>
		<!-- Ende Fehlerausgabe -->
		
		<br/>
		<form method="post" action="AdminChangePW.s">
			<table>
				<tr>
					<th><label id="Label1">Altes Passwort</label></th>
					<td><input name="oldpassword" type="password" /></td>
				</tr>
				<tr>
					<th><label id="Label2">Neues Passwort</label></th>
					<td><input name="password1" type="password" /></td>
				</tr>
				<tr>
					<th><label id="Label3">Neues Passwort(W)</label></th>
					<td>
						<input name="password2" type="password" />
					</td>
				</tr>
			</table>
			<input name="check" type="hidden" value="1" />
			<input name="Submit" type="submit" value="Speichern"/>
		</form>		
	</div>
</body>
</html>